package fun.chutianshu;

public class Dragon extends Pet{
    public Dragon(String name, int hp) {
        super(name, hp);
    }
    public Dragon(){super();}
    @Override
    public void Print() {
        System.out.println("这是一条龙："+getName()+",当前血量："+getHp());
    }

    @Override
    public void Play() {
        System.out.println("奶牛:"+getName()+"正在陪你玩....");
    }
}
